import http from '@/utils/httpd';

const apiUrl = 'api/users';

export function getList(params){
    return http.get(apiUrl+"?type=getList",params);
}
export function getData(params){
    return http.get(apiUrl+"?type=getData",params);
}
export function saveData(params){
    return http.post(apiUrl+"?type=saveData",params);
}
export function updateData(params){
    return http.post(apiUrl+"?type=updateData",params);
}
export function deleteData(params){
    return http.get(apiUrl+"?type=deleteData",params);
}